import request from "../axios";

export default {
	// 模糊查询用户
	fuzzyQuery(params) {
		return request({
			method: "POST",
			url: '/user/fuzzyQuery',
			data: params
		})
	},
	// 根据id查询用户
	getUser(params) {
		return request({
			method: "POST",
			url: '/user/getUser',
			data: params
		})
	},
	// 修改用户
	updateUser(params) {
		return request({
			method: "POST",
			url: '/user/updateUser',
			data: params
		})
	},
	// 删除用户
	deleteUser(params) {
		return request({
			method: "POST",
			url: '/user/deleteUser',
			data: params
		})
	},
	// 获取包括删除了的用户
	getUserWithDelete(params) {
		return request({
			method: "POST",
			url: '/user/getUserWithDelete',
			data: params
		})
	},
	// 重置密码
	resetPassword(params) {
		return request({
			method: "POST",
			url: '/user/resetPassword',
			data: params
		})
	},
}
